<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Project_name')}<i class="text-red">*</i>:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-project_name" data-rule="required" class="form-control" name="row[project_name]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Project_address')}<i class="text-red">*</i>:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-inline" data-toggle="cxselect" data-selects="province,city,area">
                <select class="province form-control" data-rule="required" name="row[province_id]" data-url="ajax/area" style="width: 33%"></select>
                <select class="city form-control" data-rule="required" name="row[city_id]" data-query-name="province" data-url="ajax/area" style="width: 33%"></select>
                <select class="area form-control" data-rule="required" name="row[area_id]" data-query-name="city" data-url="ajax/area" style="width: 30%"></select>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pricing_date')}<i class="text-red">*</i>:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pricing_date" class="form-control datetimepicker" data-rule="required" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[pricing_date]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tender_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select class="form-control" name="row[tender_type]">
                {foreach name="tenderTypeList" item="vo"}
                <option value="{$key}">{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Project_class')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select class="form-control" name="row[project_class]">
                {foreach name="projectConfig.project_class" item="vo"}
                <option value="{$key}">{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Project_bulid_cost')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-project_bulid_cost" class="form-control" step="0.01" name="row[project_bulid_cost]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Project_scale')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-project_scale" class="form-control" step="0.01" name="row[project_scale]" type="number" value="0.00">
        </div>
    </div>
    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Square_build_cost')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-square_build_cost" class="form-control" step="0.01" name="row[square_build_cost]" type="number" value="0.00">
        </div>
    </div> -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Build_unit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-build_unit" class="form-control" name="row[build_unit]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Construction_unit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-construction_unit" class="form-control" name="row[construction_unit]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contract_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contract_name" class="form-control" name="row[contract_name]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contract_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contract_no" class="form-control" name="row[contract_no]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Structure_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select class="form-control" name="row[structure_type]">
                <option value="0">请选择</option>
                {foreach name="projectConfig.structure_type" item="vo"}
                <option value="{$key}">{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Build_cost_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select class="form-control" name="row[build_cost_type]">
                <option value="0">请选择</option>
                {foreach name="projectConfig.build_cost_type" item="vo"}
                <option value="{$key}">{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Build_form')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select class="form-control" name="row[build_form]">
                <option value="0">请选择</option>
                {foreach name="projectConfig.build_form" item="vo"}
                <option value="{$key}">{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Taxation_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select class="form-control" name="row[taxation_type]">
                <option value="0">请选择</option>
                {foreach name="projectConfig.taxation_type" item="vo"}
                <option value="{$key}">{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pricing_method')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select class="form-control" name="row[pricing_method]" id="c-pricing_method">
                <option value="0">请选择</option>
                {foreach name="projectConfig.pricing_method" item="vo"}
                <option value="{$key}">{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pricing_inventory')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select class="form-control" name="row[pricing_inventory]" id="c-pricing_inventory">
                <option value="0">请选择</option>
                {foreach name="projectConfig.pricing_inventory" item="vo"}
                <option value="{$key}">{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pricing_basis')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select class="form-control" name="row[pricing_basis]">
                <option value="0">请选择</option>
                {foreach name="projectConfig.pricing_basis" item="vo"}
                <option value="{$key}">{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Start_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-start_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[start_date]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('End_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-end_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[end_date]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Real_start_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-real_start_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[real_start_date]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Real_end_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-real_end_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[real_end_date]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Project_params')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-project_params" class="form-control" name="row[project_params]" type="text" value="">
        </div>
    </div>
    
    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Senior_editor_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-senior_editor_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[senior_editor_date]" type="text" value="">
        </div>
    </div> -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Quota_days')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-quota_days" class="form-control" name="row[quota_days]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contract_days')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contract_days" class="form-control" name="row[contract_days]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Real_days')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-real_days" class="form-control" name="row[real_days]" type="number" value="0">
        </div>
    </div>
    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Prepared_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-prepared_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[prepared_date]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Prepared_by')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-prepared_by" data-rule="required" class="form-control" name="row[prepared_by]" type="text" value="">
        </div>
    </div> -->
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Compilation_unit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-compilation_unit" class="form-control" name="row[compilation_unit]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Review_unit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-review_unit" class="form-control" name="row[review_unit]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contacts')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contacts" class="form-control" name="row[contacts]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contact_mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contact_mobile" class="form-control" name="row[contact_mobile]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Constact_email')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-constact_email" class="form-control" name="row[constact_email]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Project_files')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-project_files" class="form-control" size="50" name="row[project_files]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-project_files" class="btn btn-danger faupload" data-input-id="c-project_files" data-multiple="true" data-preview-id="p-project_files"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <!-- <span><button type="button" id="fachoose-project_files" class="btn btn-primary fachoose" data-input-id="c-project_files" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span> -->
                </div>
                <span class="msg-box n-right" for="c-project_files"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-project_files"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contract_files')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-contract_files" class="form-control" size="50" name="row[contract_files]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-contract_files" class="btn btn-danger faupload" data-input-id="c-contract_files" data-multiple="true" data-preview-id="p-project_files"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <!-- <span><button type="button" id="fachoose-contract_files" class="btn btn-primary fachoose" data-input-id="c-contract_files" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span> -->
                </div>
                <span class="msg-box n-right" for="c-contract_files"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-contract_files"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Prepared_files')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-prepared_files" class="form-control" size="50" name="row[prepared_files]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-prepared_files" class="btn btn-danger faupload" data-input-id="c-prepared_files" data-multiple="true" data-preview-id="p-project_files"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <!-- <span><button type="button" id="fachoose-prepared_files" class="btn btn-primary fachoose" data-input-id="c-prepared_files" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span> -->
                </div>
                <span class="msg-box n-right" for="c-prepared_files"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-prepared_files"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-remark" class="form-control" rows="5" name="row[remark]"></textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
